package com.ax.base.drugadministration.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class BaseDrugDep {
    /**
     * 药监部门ID
     */
    private Long drugDepId;

    /**
     * 药监部门代码
     */
    private String drugDepCode;

    /**
     * 药监部门名称
     */
    private String drugDepName;

    /**
     * 拼音首字母
     */
    private String firstLetter;

    /**
     * 药监部门全称
     */
    private String fullName;

    /**
     * 上级药监部门ID
     */
    private Long parentDrugDepId;

    /**
     * 药监部门类型
     */
    private Integer drugDepType;

    /**
     * 维护人员ID
     */
    private Long registrarId;

    /**
     * 维护人员姓名
     */
    private String registrarName;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态（1：有效；0：注销）
     */
    private Integer flag;
    
    private String areaName;
    
    private String areaCode;
    
  //省市区
  	private String province;
  	
  	private String city;
  	
  	private String village;
  	
    public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getVillage() {
		return village;
	}

	public void setVillage(String village) {
		this.village = village;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	private Long menuId;
    private String name;
    private Integer parentId;
    private Integer type;

    public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public BaseDrugDep(Long drugDepId, String drugDepCode, String drugDepName, String firstLetter, String fullName, Long parentDrugDepId, Integer drugDepType, Long registrarId, String registrarName, Date createDate, Date updateDate, Integer flag) {
        this.drugDepId = drugDepId;
        this.drugDepCode = drugDepCode;
        this.drugDepName = drugDepName;
        this.firstLetter = firstLetter;
        this.fullName = fullName;
        this.parentDrugDepId = parentDrugDepId;
        this.drugDepType = drugDepType;
        this.registrarId = registrarId;
        this.registrarName = registrarName;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.flag = flag;
    }

    public BaseDrugDep() {
        super();
    }

    public Long getDrugDepId() {
        return drugDepId;
    }

    public void setDrugDepId(Long drugDepId) {
        this.drugDepId = drugDepId;
    }

    public String getDrugDepCode() {
        return drugDepCode;
    }

    public void setDrugDepCode(String drugDepCode) {
        this.drugDepCode = drugDepCode == null ? null : drugDepCode.trim();
    }

    public String getDrugDepName() {
        return drugDepName;
    }

    public void setDrugDepName(String drugDepName) {
        this.drugDepName = drugDepName == null ? null : drugDepName.trim();
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter == null ? null : firstLetter.trim();
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName == null ? null : fullName.trim();
    }

    public Long getParentDrugDepId() {
        return parentDrugDepId;
    }

    public void setParentDrugDepId(Long parentDrugDepId) {
        this.parentDrugDepId = parentDrugDepId;
    }

    public Integer getDrugDepType() {
        return drugDepType;
    }

    public void setDrugDepType(Integer drugDepType) {
        this.drugDepType = drugDepType;
    }

    public Long getRegistrarId() {
        return registrarId;
    }

    public void setRegistrarId(Long registrarId) {
        this.registrarId = registrarId;
    }

    public String getRegistrarName() {
        return registrarName;
    }

    public void setRegistrarName(String registrarName) {
        this.registrarName = registrarName == null ? null : registrarName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}